<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/3
 * Time: 15:26
 */

namespace app\index\controller;

use Endroid\QrCode\QrCode;
use zframe\library\Db;
use zframe\system\App;
use zframe\system\facade\Log;

class Index extends \zframe\library\Controller
{
	public function index()
	{
		$db   = new Db();
		$data = $db->query("select * from zf_test");
		var_dump($data->fetchAll());
		//		App::end();
	}
}